package com.example.xksys.service.impl;

import com.example.xksys.mapper.ScMapper;
import com.example.xksys.service.ScService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
@Service
public class ScServiceImpl implements ScService {

    @Resource
    private ScMapper sc;
    @Override
    public int doadd(Map<String, String> param) {
        return sc.add(param);
    }

    @Override
    public List<Map<String, Object>> docheck(Map<String, String> param) {
        return sc.check(param);
    }

    @Override
    public int dodelete(Map<String, String> param) {
        return sc.delete(param);
    }

}
